{template header}
{template nav}
<div class="sidnav">您的位置：&nbsp;
    <a href="{url index.php?m=car}" target="_blank" >首页</a>&nbsp;&gt;&nbsp;
  <a href="{url index.php?m=car&f=pinggu}" target="_blank" >评估咨询</a>&nbsp;&gt;&nbsp;发布评估咨询
</div>


<script language="JavaScript">
<!--
function checkdata() {
	if( $('#description').val().length<5) {
		alert("\n·请输入不多于250字符的车辆详细描述");
		$('#description').focus(); 
		return false;
	}

	if( $('#description').val().length>250) {
		alert("\n·请输入不多于250字符的车辆详细描述");
		$('#description').focus(); 
		return false;
	}
if( $('#contact').val() =="" || $('#contact').val().length<2) {
	alert("\n·请输入联系人名称");
	$('#contact').focus(); 
	return false;
	}
if( $('#phone').val() =="" || $('#phone').val().length<11) {
	alert("\n·请输入联系电话");
	$('#phone').focus(); 
	return false;
	}
return true;
}
function isNumberString (InString,RefString)
{
if(InString.length==0) return (false);
for (Count=0; Count < InString.length; Count++)  {
	TempChar= InString.substring (Count, Count+1);
	if (RefString.indexOf (TempChar, 0)==-1)  
	return (false);
}
return (true);
}

function showHide (id) 
{ 
var style = document.getElementById(id).style 
if (style.display == "none") 
style.display = "inline"; 
else 
style.display = "none"; 
} 
function showxt (id) 
{ 
var style = document.getElementById(id).style 
if (style.display == "none") 
style.display = "block"; 
else 
style.display = "none"; 
} 


function change_worker()
{
var ddlcolor=$("#ddlcolor").val();
 $("#color").val(ddlcolor);
}
// -->
</script>
<script language="javascript">
<!--
	function selectl(obj,data){
		if($(obj).attr("checked")=="checked"){
			$('#description').append(data+', ');
		}else{
			var a=$('#description').html();
			$('#description').html(a.replace(data+', ',''));
		}
	}
//-->
</script>

<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="620" height="400" valign="top" class="fbbg1"><table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="501" height="35">&nbsp;<span class="f14bs">发布评估咨询</span></td>
        <td width="99"><span class="f12cright">注*为必填</span></td>
      </tr>
      <tr>
        <td height="2" colspan="2" bgcolor="#E1E1E1"></td>
      </tr>
    </table>
    <table width="600" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table><form name="addform" method="post" action="{url index.php?m=car&f=pingguadd}" onSubmit="return checkdata()"  autocomplete="off">
<table width="100%" border="0" align=center cellpadding="5" cellspacing="1">
<tr>
    <td height="30" align="right" class="XXX">车辆描述：&nbsp;</td>
	<td bgcolor="#FFFFFF" class="XXX"><label>
	  <textarea rows="5" cols="55" class="borderm" id="description" style="font-size:13px;padding:3px;" name="description"> {$data['description']}</textarea>
	</label></td>
  </tr>
<tr>
    <td height=30 align=right><font color=red>*</font>联系人：<input type="hidden" name="fabup" id="fabup" value="1"/>
	<input type="hidden" name="id" id="id" value="{$id}"/></td>
	<td bgcolor="#FFFFFF"><input name="contact" type="text"  value="{$data['contact']}" class="inputm" id="contact" size="40" maxlength="40"  >
	 </td>
  </tr>
  <tr>
    <td height=30 align=right><font color=red>*</font>电 话：</td>
	<td bgcolor="#FFFFFF"><input name="phone" type="text" class="inputm" id="phone"  value="{$data['phone']}" size="40" maxlength="40"  >
	 </td>
  </tr>
  {if $id>0}
  <tr>
    <td height="30" align="right" class="XXX">回复内容：&nbsp;</td>
	<td bgcolor="#FFFFFF" class="XXX"><label>
	  <textarea rows="5" cols="55" class="borderm" id="replay" style="font-size:13px;padding:3px;" name="replay"> {$data['replay']}</textarea>
	</label></td>
  </tr>
  {/if}
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="70" align="center"><label>
      <input type="submit" value="发布" class="button" style="border:0">
    </label></td>
  </tr>
</table>

</form>
    </td>
    <td width="10"></td>
    <td width="320" valign="top" class="fbbg_2">
    <table width="310" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="501" height="35">&nbsp;<span class="f14bs">发布评估咨询说明</span></td>
        
      </tr>
      <tr>
        <td height="2" colspan="2" bgcolor="#E1E1E1"></td>
      </tr>
    </table>
    <table width="80%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
    <table width="310" border="0" align="center" cellpadding="5" cellspacing="1">
      <tr>
        <td width="13" height="33">·</td>
        <td width="254">请填写详细的车辆描述，以便评估师进行评价</td>
      </tr>
      <tr>
        <td height="33">·</td>
        <td>便于评估的车辆描述如下</td>
      </tr>
      <tr>
        <td height="33">·</td>
        <td>车的型号</td>
      </tr>
      <tr>
        <td height="33">·</td>
        <td>车的年份，里程，排量</td>
      </tr>
      <tr>
        <td height="33">·</td>
        <td> 车身颜色，上保险情况等</td>
      </tr>
    </table></td>
  </tr>
</table>



{template footer}